package cn.java.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

/**
 * author: Yz
 * description:
 * date: 2020/11/25
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
public class Student {
    @TableId("ID")
    String id;
    String name;
    @TableField("dept_name")
    String deptName;
    @TableField("tot_cred")
    String totCred;
}
